import request from '@/util/request'


export function getSipInfo(){
    return request({
        method:"GET",
        url:"/api/sip/info"
    })
}

export function YZWController(cmd,devicesn,num){
    return request({
        method:"GET",
        url:"/api/sip/yzw/"+cmd+"/"+devicesn+"/"+num
    });
}
export function getResetList(data){
    return request({
        method:"POST",
        url:"/api/reset/getResetList",
        data:data
    });
}
export function addReset(data){
    return request({
        method:"POST",
        url:"/api/reset/addReset",
        data:data
    });
}
export function updateReset(data){
    return request({
        method:"POST",
        url:"/api/reset/updateReset",
        data:data
    });
}
export function getResetById(data){
    return request({
        method:"POST",
        url:"/api/reset/getResetById",
        data:data
    });
}
